#include <globalDecl.h>
#include <menu.h>

void menu:: showMenu()
{

  try{
  m_iChoice = 0;
  cout << "What do you want to do?"<< endl;
  cout << "1. Load a text file into a binary database file."<< endl;
  cout << "2. Apply a selection predicate to a binary database file."<< endl;
  cout << "3. Find all records falling in a range using a B+-Tree."<< endl;
  cout << ">";

  }
  catch ( int i)
  {
     printf("exception:: %d",i);
     throw i;

  }


}


void menu::acceptChoice()
{
 cin >> m_iChoice;
}

